Giter VIP home page Giter VIP logo

floodgate's Introduction

Floodgate

Makes your Minecraft swimming pool easier than ever!

This mod adds a block that can fill arbitrary and dynamic volumes with fluid source blocks. In other words, it can fill a hole as you dig it.

Floodgate action shot The floodgate can be used with EnderIO fluid conduits and IC2's fluid pump to move fluids from one body to another.

Several mods add pumps that can suck up fluid source blocks (like IC2), but BuildCraft is the only mod I've found that can place them back into the world. This mod is intended to replace the floodgate functionality from BuildCraft, which did not have a 1.10.2 release.

This mod depends on EnderCore 0.4.1.66-beta (or above), since it's intended to work with EnderIO's fluid conduits.

floodgate's People

Contributors

mimickal avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

danudesandstorm

floodgate's Issues

TODO List

  • Toggle power states
    • GUI button in the menu with "ON", "OFF", and "REDSTONE"
    • TileEntity functionality for only outputting when redstone powered
  • Add fluid via GUI using buckets/IC2 fluid cells
    • Bucket/fluid cell input area
      • GUI Slot
      • TileEntity take bucket/fluid cell water amount
    • Empty container output
      • GUI Slot
      • TileEntity after draining input, place empty bucket/fluid cell
  • Tank GUI (Readout for current fluid amount)
    • GUI Render water level
    • Tooltip water amount
    • Figure out what getTankInfoMapper actually does
  • Only accept pipe input connection on the top
  • Right click with full bucket to place MATCHING liquid (liquid in tank)

Performance Sucks

The block selection algorithm is in serious need of optimization. A single floodgate can bring a server to its knees, mostly because we cache absolutely nothing and re-traverse the entire selection path every single time we place a block.

There's probably some magic we can do with static values that allows all the floodgates to share state, so multiple floodgates can fill a single volume without turning the server into a slide show.

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.