Giter Club home page Giter Club logo

fabric-copper-golem's Introduction

Copper Golem for Fabric 🤖

Sadly at Minecraft Live 2021 the Copper Golem did not win the vote to get added into 1.18.

But this little golem is so cute I did not want to see it get missed in Minecraft!

Functionality is experimental and is based on what Mojang announced at Minecraft Live 2021.

Requires at least Fabric API 0.41.0

To run the mod

Single player

You can run this mod on a single player world by just having it in your mods folder.

Multiplayer

The server must have the mod installed.

Clients need to have the mod installed to see the golems. If they do not have the mod the game seems to render a Pig for me 🤷‍♂️.


Features

Copper Buttons

  • Waxed and unwaxed variants
    • Lower redstone signal and breaking strengths when oxidised

Spawning

  • The spawning combo is a bottom Copper Block, middle Carved Pumpkin Block and top Lightning Rod.
  • In creative, you can use the Copper Golem spawn egg

Goals, in priority order

  • Swim, to escape from water

  • Escape from danger, run away from attackers

  • Wandering around, this is taken straight from the Iron Golem code, to wander near villagers or to random blocks

  • Press button

  • Looking around

  • Spin head

  • Rod wiggle

  • Look at player

  • Look at Iron Golems, as they're their big brother

  • Find buttons to press

Oxidation

  • Random ticks will cause oxidation to increment, of which are 4 levels (0-3)
  • Interacting with the mob with Honeycomb to Wax it
  • Interacting with the mob with an any Axe will unwax it, if waxed, otherwise if not at first oxidation level will deoxidise it by 1 level
  • Lightning strikes will set oxidation level to 0 (min level) if not waxed

Animations

  • Spinning head randomly
  • Arm/body moving when pressing button
  • Rod wiggling randomly
  • Body wiggle when walking

Current to do list

Entity

  • Oxidation is done via random ticks from copper blocks, but once whey are waxed or reach oxidized state no more random ticks occur, so this is not great.
  • Freezing limbs in place once at last stage of oxidation
  • Lightning attracted to golem
  • Walking / running speed should decrease with oxidation level

Mod / Cloth menu

  • Option to select all/specific buttons to press. Currently, any button extending from AbstractButtonBlock will be targeted.

... more to be added

Special thanks to Carloski for the Copper Golem textures! ❤️

fabric-copper-golem's People

Contributors

mrjoshuat avatar felix14-v2 avatar salviemundi avatar k0-rr avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.