u/FingersSnapper

RealisticHusbandry - mój pierwszy plugin/mod do serwerów Spigot/Paper/Bukkit

RealisticHusbandry - mój pierwszy plugin/mod do serwerów Spigot/Paper/Bukkit

Cześć

Jako ojciec trójki chłopaków, w Minecrafcie spędzam sporo czasu budując, eksplorując i przygotowując się do walki ze smokiem, witherem i wardenem. Jako były programista myślałem nad stworzeniem jakiegoś moda/pluginu, którego bym mógł używać i testować z dziećmi.

I tak powstał RealisticHusbandry - plugin do Minecrafta w wersji serwerowej (Spigot/Paper/etc.)

https://preview.redd.it/63v8mslby52h1.png?width=1600&format=png&auto=webp&s=30ee480ffdcfdbff3b1384b74c493adbfd99fe8c

Plugin ma na celu nagradzać za hodowanie zwierząt w dobrych warunkach, a karać za trzymanie ich w zatłoczonych zagrodach. Im lepsze warunki mają zwierzęta, tym szybciej przybierają na wadze i potem dają więcej przedmiotów oraz więcej doświadczenia.

  • zdrowe zwierzęta rosną szybciej, chore nie rosną w ogóle
  • im więcej wolnej przestrzeni wokół nich, tym szybszy przyrost wagi
  • zbyt duży tłok spowalnia rośnięcie, a nawet może powodować utratę wagi
  • zbyt chude zwierzęta nie dają w ogóle przedmiotów ani doświadczenia

Aktualnie dostępna jest wersja 0.4.0, ale w planach mam dodawanie kolejnych funkcjonalności:

  • dostęp do wody i jedzenia ma mieć pozytywny wpływ na wzrost wagi
  • bliskość wieśniaka Farmera ma mieć pozytywny wpływ na wzrost wagi
  • stare zwierzęta w ogóle nie będą dawały przedmiotów ani doświadczenia
  • ilość mleka i wełny też będzie zależała od wagi zwierząt

Kod jest open-source, upublikowany na GitHubie.

Ponieważ to dopiero początek mojej drogi Plugin Developera, każdy feedback, pomysły, uwagi będą dla mnie bardzo cenne 😄

reddit.com
u/FingersSnapper — 2 days ago

RealisticHusbandry - my first plugin about taking care of your animals

On Friday on r/Minecraft, I read an idea about animals gaining/losing weight depending on the conditions/environment around them and calculating loot based on the animal's weight. As an ex-Java developer, I was thinking for some time about contributing to one of the existing plugins I use on my Spigot server, but the idea seemed so good that I decided to give it a try and try to build my first plugin from scratch.

Three evenings and 20 hours later, I've already published two versions of it to SpigotMC, and I would like to share it with the community, get feedback, ideas, and maybe even new users😄

Plugin name: RealisticHusbandry (link to plugin at SpigotMc)

RealisticHusbandry plugin banner

Description

Animals living in good conditions are happier and gain weight faster. The happier (and the heavier) they are, the more loot they give when you kill them. Neglect their conditions and they even may loose weight and stop giving you any loot! Every morning server analyzes conditions your animals are living and calculates their growth rate (positive or negative) based on several conditions.

  • keep them healthy: animals with health lower than 60% do not grow at all, the closer their health is to 100%, the faster their growth is
  • give them space: too crowded pastures prevent animals from being happy and growing
  • avoid unhealthy conditions, as animals may loose weight and even do not drop anything when they are too thin
  • check state of animal by right-clicking on it
  • (coming soon!) provide them with water: animals with direct access to water grow faster
  • (coming soon!) give them food: animals with direct access to hay grow faster
  • (coming soon!) animals on grass are happier and grow faster

Also planned:

  • adjust number of eggs, wool and milk based on animals happiness and weight
  • animals that are too old do not provide products at all
  • increase growth rate when farmer villager is near by

As this is my first plugin, any comments/feedback/anything is more than welcome!

reddit.com
u/FingersSnapper — 4 days ago

Moja kopalnia diamentów i strip mining

Moja aktualna kopalnia diamentów pod zamkiem. To wielka dziura 16x16 bloków, która ciagnie się w dół aż do poziomu -54, ze schodami i drewnianymi filarami wkomponowanymi w ściany. Wszystko wykopane ręcznie diamentowymi kilofami na moim rodzinnym (ja + synowie) serwerze.

Na samym dole znajduje się parę piecyków napędzanych lawą, znowu trochę drewna i belek, stosy różnych rud i długi korytarz prowadzący do mojego labiryntu (strip mining). Ostatni screen to mapa mojej kopalni w DynMap z użyciem tzw. custom perspective

u/FingersSnapper — 13 days ago
▲ 26 r/Minecraft_Survival+1 crossposts

My first build shared in public, so be gentle :)

I have created a small castle, mostly walls and one rectangularish tower, so there is limited space for interiors. I didn't want to put all meaningful rooms in the basement so I used space in the tower to make climatic enchanting room in a library-style theme.

u/FingersSnapper — 17 days ago