Commits
md_5 authored 9f12e29b718
19 19 | import net.minecraft.server.HeightMap; |
20 20 | import net.minecraft.server.IBlockData; |
21 21 | import net.minecraft.server.IChunkAccess; |
22 22 | import net.minecraft.server.IChunkProvider; |
23 23 | import net.minecraft.server.IRegistryCustom; |
24 24 | import net.minecraft.server.LightEngine; |
25 25 | import net.minecraft.server.ParticleParam; |
26 26 | import net.minecraft.server.SoundCategory; |
27 27 | import net.minecraft.server.SoundEffect; |
28 28 | import net.minecraft.server.TickList; |
29 + | import net.minecraft.server.TickListEmpty; |
29 30 | import net.minecraft.server.TileEntity; |
30 31 | import net.minecraft.server.WorldBorder; |
31 32 | import net.minecraft.server.WorldData; |
32 33 | import net.minecraft.server.WorldServer; |
33 34 | |
34 35 | public class DummyGeneratorAccess implements GeneratorAccess { |
35 36 | |
36 37 | public static final GeneratorAccess INSTANCE = new DummyGeneratorAccess(); |
37 38 | |
38 39 | protected DummyGeneratorAccess() { |
39 40 | } |
40 41 | |
41 42 | |
42 43 | public TickList<Block> getBlockTickList() { |
43 - | throw new UnsupportedOperationException("Not supported yet."); |
44 + | return TickListEmpty.b(); |
44 45 | } |
45 46 | |
46 47 | |
47 48 | public TickList<FluidType> getFluidTickList() { |
48 - | throw new UnsupportedOperationException("Not supported yet."); |
49 + | return TickListEmpty.b(); |
49 50 | } |
50 51 | |
51 52 | |
52 53 | public WorldData getWorldData() { |
53 54 | throw new UnsupportedOperationException("Not supported yet."); |
54 55 | } |
55 56 | |
56 57 | |
57 58 | public DifficultyDamageScaler getDamageScaler(BlockPosition blockposition) { |
58 59 | throw new UnsupportedOperationException("Not supported yet."); |
185 186 | |
186 187 | |
187 188 | public boolean a(BlockPosition blockposition, boolean flag) { |
188 189 | throw new UnsupportedOperationException("Not supported yet."); |
189 190 | } |
190 191 | |
191 192 | |
192 193 | public boolean a(BlockPosition blockposition, boolean flag, Entity entity, int i) { |
193 194 | throw new UnsupportedOperationException("Not supported yet."); |
194 195 | } |
195 - | |
196 - | |
197 - | public long ab() { |
198 - | throw new UnsupportedOperationException("Not supported yet."); |
199 - | } |
200 196 | } |