This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Air = 0 = air | |
Empty = 1 = base/empty | |
Earth Backdrop = 2 = base/earth | |
Sandstone Backdrop = 3 = base/sandstone | |
Limestone Backdrop = 4 = base/limestone | |
Maw = 5 = base/maw | |
Culvert = 6 = base/pipe | |
Plugged Maw = 7 = base/maw-plugged | |
Plugged Culvert = 8 = base/pipe-plugged | |
Ocean = 9 = base/water |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** Subinterface of BlockEntityProvider that reduces type checking and conversion boilerplate related to tickers.<br> | |
* This interface should be implemented by the {@code Block}.<br> | |
* The {@code BlockEntity} must implement {@link BlockEntityHost.Hosted}. | |
* @param <T> class of the block entity hosted by this block | |
* @author Daomephsta | |
*/ | |
public interface BlockEntityHost<T extends BlockEntity & BlockEntityHost.Hosted> extends BlockEntityProvider | |
{ | |
@Override | |
public default <U extends BlockEntity> BlockEntityTicker<U> getTicker( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* This work is free. You can redistribute it and/or modify it under the | |
* terms of the Do What The Fuck You Want To Public License, Version 2, | |
* as published by Sam Hocevar. See the COPYING file for more details. | |
*/ | |
/* | |
* Easing Functions - inspired from http://gizma.com/easing/ | |
* only considering the t value for the range [0, 1] => [0, 1] | |
*/ | |
EasingFunctions = { |