Merge branch 'master' into light
This commit is contained in:
commit
ac9fcd9ece
122 files changed
+7753
-1373
No files matched your search
@@ -0,0 +1,12 @@
|
||||
package carpet.fakes;
|
||||
|
||||
import it.unimi.dsi.fastutil.longs.Long2ObjectOpenHashMap;
|
||||
import net.minecraft.server.world.ChunkTicket;
|
||||
import net.minecraft.util.SortedArraySet;
|
||||
import net.minecraft.util.math.ChunkPos;
|
||||
|
||||
public interface ChunkTicketManagerInterface
|
||||
{
|
||||
void changeSpawnChunks(ChunkPos pos, int distance);
|
||||
Long2ObjectOpenHashMap<SortedArraySet<ChunkTicket<?>>> getTicketsByPosition();
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package carpet.fakes;
|
||||
|
||||
import net.minecraft.util.Identifier;
|
||||
import net.minecraft.util.PacketByteBuf;
|
||||
|
||||
public interface CustomPayloadC2SPacketInterface
|
||||
{
|
||||
Identifier getPacketChannel();
|
||||
PacketByteBuf getPacketData();
|
||||
}
|
||||
@@ -11,4 +11,8 @@ public interface EntityInterface
|
||||
boolean isPermanentVehicle();
|
||||
|
||||
void setPermanentVehicle(boolean permanent);
|
||||
|
||||
int getPortalTimer();
|
||||
|
||||
void setPortalTimer(int amount);
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
package carpet.fakes;
|
||||
|
||||
public interface HungerManagerInterface {
|
||||
float getExhaustionCM();
|
||||
void setExhaustionCM(float exhaust);
|
||||
}
|
||||
@@ -2,6 +2,6 @@ package carpet.fakes;
|
||||
|
||||
public interface ItemEntityInterface
|
||||
{
|
||||
int getAge();
|
||||
int getPickupDelay();
|
||||
int getAgeCM();
|
||||
int getPickupDelayCM();
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package carpet.fakes;
|
||||
|
||||
public interface LivingEntityInterface
|
||||
{
|
||||
void doJumpCM(); // added CM suffix to remove potential collisions with other mods
|
||||
boolean isJumpingCM();
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package carpet.fakes;
|
||||
|
||||
import net.minecraft.server.world.ChunkTicketManager;
|
||||
|
||||
public interface ServerChunkManagerInterface
|
||||
{
|
||||
ChunkTicketManager getCMTicketManager();
|
||||
}
|
||||
Reference in new issue
Block a user