MCPcopy Create free account

hub / github.com/TheGreyGhost/MinecraftByExample / types & classes

Types & classes197 in github.com/TheGreyGhost/MinecraftByExample

ClassAirstrikeMessageToServer
This Network Message is sent from the client to the server, to tell it to spawn projectiles at a particular location. Typical usage: PREREQUISITES:
src/main/java/minecraftbyexample/mbe60_network_messages/AirstrikeMessageToServer.java:28
ClassAllMbeItemsItemGroup
src/main/java/minecraftbyexample/mbe08_itemgroup/AllMbeItemsItemGroup.java:16
ClassAltimeterBakedModel
Created by TheGreyGhost on 19/04/2015. This class is used to customise the rendering of the altimeter block, based on the block it is copying. It uses
src/main/java/minecraftbyexample/mbe04_block_dynamic_block_models/AltimeterBakedModel.java:47
ClassAnimationState
Helper class to convert the animation ticks into animation parameters of the hourglass (sand fullness, and end-over-end rotation when the sand expir
src/main/java/minecraftbyexample/mbe21_tileentityrenderer/RenderModelHourglass.java:114
ClassAnimationTickCounter
Simple class to count the number of ticks on the client; used for animation purposes Created by TGG on 10/03/2020.
src/main/java/minecraftbyexample/mbe21_tileentityrenderer/AnimationTickCounter.java:11
ClassBlock3DWeb
Created by TheGreyGhost on 19/04/2015. Block3DWeb uses a model which - doesn't occupy the entire 1x1x1m space, - is made up of a central core, plus
src/main/java/minecraftbyexample/mbe03_block_variants/Block3DWeb.java:53
ClassBlockAltimeter
Created by TheGreyGhost on 19/04/2015. This altimeter displays the elevation of the block (its y coordinate) and also a needle that points towards [x
src/main/java/minecraftbyexample/mbe04_block_dynamic_block_models/BlockAltimeter.java:23
ClassBlockCamouflage
Created by TheGreyGhost on 19/04/2015. This block takes on the appearance of block next to it, but can be walked through. The default texture for the
src/main/java/minecraftbyexample/mbe04_block_dynamic_block_models/BlockCamouflage.java:20
ClassBlockFlameEmitter
User: The Grey Ghost Date: 03/11/2015 BlockFlameEmitter is a simple block made from a couple of smaller pieces. See mbe02_block_partial for more info
src/main/java/minecraftbyexample/mbe50_particle/BlockFlameEmitter.java:31
ClassBlockGlassLantern
User: The Grey Ghost Date: 24/12/2014 BlockGlassLantern uses a model which is rendered in multiple layers: - CUTOUT layer (with seethrough holes) - t
src/main/java/minecraftbyexample/mbe05_block_advanced_models/BlockGlassLantern.java:44
ClassBlockInventoryBasic
User: brandon3055 Date: 06/01/2015 BlockInventoryBasic is a simple inventory capable of storing 9 item stacks. The block itself doesn't do much more
src/main/java/minecraftbyexample/mbe30_inventory_basic/BlockInventoryBasic.java:34
ClassBlockInventoryFurnace
User: brandon3055 Date: 06/01/2015 BlockInventoryAdvanced is an advanced furnace with 5 input, 5 output and 4 fuel slots that smelts at up to four ti
src/main/java/minecraftbyexample/mbe31_inventory_furnace/BlockInventoryFurnace.java:35
ClassBlockMBE21
User: The Grey Ghost Date: 11/01/2015 BlockTileEntityData is a simple block with an associated TileEntity. The base block is shaped like a hopper, a
src/main/java/minecraftbyexample/mbe21_tileentityrenderer/BlockMBE21.java:35
ClassBlockMBE80
User: The Grey Ghost Date: 11/01/2015 BlockTileEntityData is a simple block with an associated TileEntity. The base block is shaped like a hopper, a
src/main/java/minecraftbyexample/mbe80_model_renderer/BlockMBE80.java:35
ClassBlockPartial
User: The Grey Ghost Date: 24/12/2014 <p> BlockPartial uses a model which doesn't occupy the entire 1x1x1m space, and is made up of two pieces. We can
src/main/java/minecraftbyexample/mbe02_block_partial/BlockPartial.java:28
ClassBlockRedstoneColouredLamp
User: The Grey Ghost Date: 29/11/2015 BlockRedstoneColouredLamp is a block which looks at the redstone inputs on three sides and changes its colour
src/main/java/minecraftbyexample/mbe06_redstone/input/BlockRedstoneColouredLamp.java:37
ClassBlockRedstoneMeter
User: The Grey Ghost Date: 27/11/2015 BlockRedstoneMeter is a simple block with an associated TileEntity to render the block's power level. It gets w
src/main/java/minecraftbyexample/mbe06_redstone/input_and_output/BlockRedstoneMeter.java:34
ClassBlockRedstoneTarget
User: The Grey Ghost Date: 24/11/2015 BlockRedstoneTarget is designed to be hung on a wall. When an arrow is fired into the target, it emits strong
src/main/java/minecraftbyexample/mbe06_redstone/output_only/BlockRedstoneTarget.java:41
ClassBlockRedstoneVariableSource
User: The Grey Ghost Date: 24/12/2014 BlockRedstoneVariableSource() This block is a provider of redstone power, similar to a torch, except that the a
src/main/java/minecraftbyexample/mbe06_redstone/output_only/BlockRedstoneVariableSource.java:41
ClassBlockSimple
User: The Grey Ghost Date: 24/12/2014 BlockSimple is a ordinary solid cube with the six faces numbered from 0 - 5. For background information on bloc
src/main/java/minecraftbyexample/mbe01_block_simple/BlockSimple.java:21
ClassBlockTileEntityData
User: The Grey Ghost Date: 11/01/2015 BlockTileEntityData is a ordinary solid cube with an associated TileEntity For background information on block
src/main/java/minecraftbyexample/mbe20_tileentity_data/BlockTileEntityData.java:22
ClassBlockVariants
User: The Grey Ghost Date: 24/12/2014 BlockVariants uses a model which - doesn't occupy the entire 1x1x1m space, - is made up of two pieces, - uses a
src/main/java/minecraftbyexample/mbe03_block_variants/BlockVariants.java:55
ClassBoomerangEntity
Created by TGG on 24/06/2020. Heavily based on the vanilla SnowballEntity, ThrowableEntity, and AbstractArrowEntity
src/main/java/minecraftbyexample/mbe81_entity_projectile/BoomerangEntity.java:59
ClassBoomerangFlightPath
Created by TGG on 5/07/2020. This class models the flight path of the boomerang. It calculates the position[x,y,z] of the boomerang at a given time a
src/main/java/minecraftbyexample/mbe81_entity_projectile/BoomerangFlightPath.java:58
ClassBoomerangItem
Created by TGG on 24/06/2020. The boomerang is "tiered" similar to wood sword (vs stone sword, iron sword, etc) This lets us easily make the boomeran
src/main/java/minecraftbyexample/mbe81_entity_projectile/BoomerangItem.java:22
ClassBoomerangRenderFactory
src/main/java/minecraftbyexample/mbe81_entity_projectile/StartupClientOnly.java:66
ClassBoomerangRenderer
Created by TGG on 24/08/2020. Used to render your BoomerangEntity
src/main/java/minecraftbyexample/mbe81_entity_projectile/BoomerangRenderer.java:26
ClassCamouflageBakedModel
Created by TheGreyGhost on 19/04/2015. This class is used to customise the rendering of the camouflage block, based on the block it is copying. It use
src/main/java/minecraftbyexample/mbe04_block_dynamic_block_models/CamouflageBakedModel.java:29
ClassCapabilityAttachEventHandler
Created by TGG on 20/06/2020. This class is used to attach our CapabilityProviderEntities to relevant vanilla entities AttachCapabilitiesEvent<Enti
src/main/java/minecraftbyexample/mbe65_capability/CapabilityAttachEventHandler.java:25
ClassCapabilityElementalAir
Created by TGG on 17/06/2020. This class doesn't do much! It's really just a marker for the capability. register() should be called during FMLCommonS
src/main/java/minecraftbyexample/mbe65_capability/CapabilityElementalAir.java:24
ClassCapabilityElementalFire
Created by TGG on 17/06/2020. This class doesn't do much! It's really just a marker for the capability. register() should be called during FMLCommonS
src/main/java/minecraftbyexample/mbe65_capability/CapabilityElementalFire.java:24
ClassCapabilityProviderAirItems
This class provides all the capabilities that an Air ItemStack can possess. (used for the ItemElementalCrossbowAir) In this case there is only one. 1
src/main/java/minecraftbyexample/mbe65_capability/CapabilityProviderAirItems.java:17
ClassCapabilityProviderEntities
This class provides all the capabilities that an Entity can possess. In this case there are two: 1) CapabilityElementalFire --> ElementalFireInterface
src/main/java/minecraftbyexample/mbe65_capability/CapabilityProviderEntities.java:22
ClassCapabilityProviderFireItems
This class provides all the capabilities that a Fire ItemStack can possess. (used for the ItemElementalBowFire) In this case there is only one. 1) Cap
src/main/java/minecraftbyexample/mbe65_capability/CapabilityProviderFireItems.java:17
ClassCapabilityProviderFlowerBag
This class provides all the capabilities that the FlowerBag possesses. In this case it only provides one capability, the ITEM_HANDLER_CAPABILITY i.e.
src/main/java/minecraftbyexample/mbe32_inventory_item/CapabilityProviderFlowerBag.java:20
ClassChessboardFinalisedModel
Created by TGG on 20/10/2016. Generated by ChessBoardModel and ChessboardItemOverrideList. Contains information about 1) The base model to be drawn;
src/main/java/minecraftbyexample/mbe15_item_dynamic_item_model/ChessboardFinalisedModel.java:41
ClassChessboardItemOverrideList
Created by TGG on 20/10/2016.
src/main/java/minecraftbyexample/mbe15_item_dynamic_item_model/ChessboardItemOverrideList.java:19
ClassChessboardModel
Created by TheGreyGhost on 19/04/2015. This class modifies the displayed item (a chessboard) to show a number of "pieces" (blue squares) on the chessb
src/main/java/minecraftbyexample/mbe15_item_dynamic_item_model/ChessboardModel.java:22
ClassChestContents
Created by TGG on 4/04/2020. This class is used to encapsulate the contents of the chest and provide the link between the parent TileEntity and th
src/main/java/minecraftbyexample/mbe30_inventory_basic/ChestContents.java:33
ClassClientSideOnlyModEventRegistrar
src/main/java/minecraftbyexample/ClientSideOnlyModEventRegistrar.java:11
ClassContainerBasic
User: brandon3055 Date: 06/01/2015 The container is used to link the client side gui to the server side inventory and it is where you add the slots t
src/main/java/minecraftbyexample/mbe30_inventory_basic/ContainerBasic.java:28
ClassContainerFlowerBag
The ContainerFlowerBag is used to manipulate the contents of the FlowerBag (ItemStackHandlerFlowerBag). The master copy is on the server side, with a
src/main/java/minecraftbyexample/mbe32_inventory_item/ContainerFlowerBag.java:43
ClassContainerFurnace
User: brandon3055 Date: 06/01/2015 ContainerFurnace is used to link the client side gui to the server side inventory. It collates the various differ
src/main/java/minecraftbyexample/mbe31_inventory_furnace/ContainerFurnace.java:26
ClassContainerProviderFlowerBag
Uses an inner class as an INamedContainerProvider. This does two things: 1) Provides a name used when displaying the container, and 2) Creates an
src/main/java/minecraftbyexample/mbe32_inventory_item/ItemFlowerBag.java:151
ClassContainerScreenBasic
User: brandon3055 Date: 06/01/2015 GuiInventoryBasic is a simple gui that does nothing but draw a background image and a line of text on the screen.
src/main/java/minecraftbyexample/mbe30_inventory_basic/ContainerScreenBasic.java:27
ClassContainerScreenFlowerBag
src/main/java/minecraftbyexample/mbe32_inventory_item/ContainerScreenFlowerBag.java:37
ClassContainerScreenFurnace
User: brandon3055 Date: 06/01/2015 ContainerScreenFurnace is a gui similar to that of a furnace. It has a progress bar and a burn time indicator. Bot
src/main/java/minecraftbyexample/mbe31_inventory_furnace/ContainerScreenFurnace.java:33
ClassCubicSpline
Performs spline interpolation given a set of control points. Cubic splines are used to smoothly interpolate between points on a curve They are great
src/main/java/minecraftbyexample/usefultools/CubicSpline.java:38
ClassDataLogger
Log data values with time stamp to a datalog file stored in the local data directory for minecraft on this machine Created by TGG on 22/07/2015.
src/main/java/minecraftbyexample/usefultools/debugging/DataLogger.java:17
ClassDebugBlockVoxelShapeHighlighter
Created by TGG on 27/06/2019.
src/main/java/minecraftbyexample/usefultools/debugging/DebugBlockVoxelShapeHighlighter.java:26
ClassDebugSettings
Created by TGG on 29/06/2015. Holds debugging settings for interactive debugging: Typical usage 1) setDebugParameter(name, value) - for example in re
src/main/java/minecraftbyexample/usefultools/debugging/DebugSettings.java:36
ClassDebugSpawnInhibitor
Created by TGG on 27/06/2019. <p> While active, prevents vanilla entities from spawning. Debugging purposes. also useful: /kill @e[type=!Player]
src/main/java/minecraftbyexample/usefultools/debugging/DebugSpawnInhibitor.java:15
ClassDebugTestWatcher
Created by TGG on 21/02/2020. Used in conjunction with the MBEdebugCommand to trigger execution of an in-game test /mbedebug test testnumber
src/main/java/minecraftbyexample/mbe75_testing_framework/DebugTestWatcher.java:14
ClassDebugTestWatcherMBE81
Created by TGG on 21/02/2020. Used in conjunction with the MBEdebugCommand to trigger execution of an in-game test /mbedebug test testnumber
src/main/java/minecraftbyexample/mbe81_entity_projectile/testharness/DebugTestWatcherMBE81.java:14
ClassDebugTriggerWatcher
Created by TGG on 21/02/2020. Used in conjunction with the MBEdebugCommand /mbedebug trigger killallentities
src/main/java/minecraftbyexample/usefultools/debugging/commands/DebugTriggerWatcher.java:16
ClassDoubleSetting
src/main/java/minecraftbyexample/mbe80_model_renderer/TestModel.java:313
ClassElementalAir
Created by TGG on 18/06/2020. This class stores the amount of ElementalAir that has been attached to the ItemStack or Entity. It's basically identica
src/main/java/minecraftbyexample/mbe65_capability/ElementalAir.java:16
ClassElementalAirNBTStorage
src/main/java/minecraftbyexample/mbe65_capability/ElementalAir.java:34
ClassElementalFire
Created by TGG on 18/06/2020. This class stores the amount of ElementalFire that has been attached to the ItemStack or Entity. It's basically identic
src/main/java/minecraftbyexample/mbe65_capability/ElementalFire.java:15
ClassElementalFireNBTStorage
src/main/java/minecraftbyexample/mbe65_capability/ElementalFire.java:33
ClassElementalInteractions
Created by TGG on 21/06/2020. This class models what happens when elemental Fire or Air interact with Entities: 1) The arrow disappears immediately
src/main/java/minecraftbyexample/mbe65_capability/ElementalInteractions.java:42
ClassEmojiEntity
Created by TGG on 24/06/2020. Heavily based on the vanilla SnowballEntity
src/main/java/minecraftbyexample/mbe81_entity_projectile/EmojiEntity.java:34
ClassEmojiItem
Created by TGG on 24/06/2020. Heavily based on the vanilla SnowballItem Is either HAPPY or GRUMPY. When thrown, produces an EmojiEntity
src/main/java/minecraftbyexample/mbe81_entity_projectile/EmojiItem.java:22
EnumEmojiMood
src/main/java/minecraftbyexample/mbe81_entity_projectile/EmojiItem.java:75
EnumEnumBottleFlavour
src/main/java/minecraftbyexample/mbe11_item_variants/ItemVariants.java:263
EnumEnumBottleFullness
src/main/java/minecraftbyexample/mbe11_item_variants/ItemVariants.java:182
EnumEnumColour
src/main/java/minecraftbyexample/mbe03_block_variants/BlockVariants.java:222
EnumEnumRenderStyle
src/main/java/minecraftbyexample/mbe21_tileentityrenderer/TileEntityMBE21.java:180
ClassFlameParticle
User: The Grey Ghost Date: 24/12/2014 Custom Particle to illustrate how to add a Particle with your own texture and movement/animation behaviour A go
src/main/java/minecraftbyexample/mbe50_particle/FlameParticle.java:18
ClassFlameParticleData
Created by TGG on 25/03/2020. The particle has two pieces of information which are used to customise it: 1) The colour (tint) which is used to chang
src/main/java/minecraftbyexample/mbe50_particle/FlameParticleData.java:29
ClassFlameParticleFactory
Created by TGG on 25/03/2020. On the client side: When the client wants to spawn a Particle, it gives the FlameParticleData to this factory method Th
src/main/java/minecraftbyexample/mbe50_particle/FlameParticleFactory.java:19
ClassFlameParticleType
Created by TGG on 25/03/2020. Simple class used to describe the Particle
src/main/java/minecraftbyexample/mbe50_particle/FlameParticleType.java:11
ClassForgeLoggerTweaker
Created by TGG on 4/02/2020. Gives you greater control over the Forge logger in case you need it. Thanks to Darkhax Stuff-a-sock-in-it: https://githu
src/main/java/minecraftbyexample/usefultools/debugging/ForgeLoggerTweaker.java:29
ClassFurnaceFuelBurnTimeEventHandler
Created by TheGreyGhost on 13/11/2017. Turns vanilla item (wheat) into a fuel. Can also be used for more-complicated calculations on whether the
src/main/java/minecraftbyexample/mbe35_recipes/FurnaceFuelBurnTimeEventHandler.java:14
ClassFurnaceStateData
Created by TGG on 4/04/2020. This class is used to store some state data for the furnace (eg burn time, smelting time, etc) 1) The Server TileEntity u
src/main/java/minecraftbyexample/mbe31_inventory_furnace/FurnaceStateData.java:22
ClassFurnaceZoneContents
Created by TGG on 4/04/2020. This class is used to encapsulate the contents of the one of the zones of the furnace (eg input zone, output zone, an
src/main/java/minecraftbyexample/mbe31_inventory_furnace/FurnaceZoneContents.java:28
ClassGPScoordinate
src/main/java/minecraftbyexample/mbe04_block_dynamic_block_models/BlockAltimeter.java:51
ClassInteractiveParameters
InteractiveParameters holds the interactive parameters used to tweak the model in real time. One model instance is active at a given time; when a mode
src/main/java/minecraftbyexample/mbe80_model_renderer/TestModel.java:104
ClassItemAirStrike
User: The Grey Ghost Date: 30/12/2014 ItemAirStrike is a simple item that sends a network message to the server when you right click it.
src/main/java/minecraftbyexample/mbe60_network_messages/ItemAirStrike.java:23
ClassItemChessBoard
User: The Grey Ghost Date: 30/12/2014 ItemChessBoard is an ordinary two-dimensional item; the based model is auto-generated from the item's texture
src/main/java/minecraftbyexample/mbe15_item_dynamic_item_model/ItemChessBoard.java:12
ClassItemElementalBowFire
User: The Grey Ghost Date: 30/12/2014 ItemElementalBowFire is used to fire arrows which have been given Elemental Fire The longer that the player
src/main/java/minecraftbyexample/mbe65_capability/ItemElementalBowFire.java:36
ClassItemElementalCrossbowAir
User: The Grey Ghost Date: 30/12/2014 ItemElementalCrossbowAir is used to fire arrows which have been given Elemental Air The arrow does no damage
src/main/java/minecraftbyexample/mbe65_capability/ItemElementalCrossbowAir.java:49
ClassItemFlowerBag
src/main/java/minecraftbyexample/mbe32_inventory_item/ItemFlowerBag.java:50
ClassItemNBTAnimate
User: The Grey Ghost Date: 30/12/2014 Item (teleportation gem) which stores NBT information and also provides a custom animation when being "used", vi
src/main/java/minecraftbyexample/mbe12_item_nbt_animate/ItemNBTAnimate.java:32
ClassItemNBTanimationTimer
The item has a number of animation frames depending on what the player is doing. Idle frame, when the player is not using the item (mbe12_item_nbt_an
src/main/java/minecraftbyexample/mbe12_item_nbt_animate/ItemNBTanimationTimer.java:44
ClassItemSimple
User: The Grey Ghost Date: 30/12/2014 ItemSimple is an ordinary two-dimensional item For background information on item see here http://greyminecraft
src/main/java/minecraftbyexample/mbe10_item_simple/ItemSimple.java:14
ClassItemStackHandlerFlowerBag
Created by TGG on 7/06/2020. Used to store Flower ItemStacks. Will only accept SMALL_FLOWERS and TALL_FLOWERS
src/main/java/minecraftbyexample/mbe32_inventory_item/ItemStackHandlerFlowerBag.java:19
ClassItemTestRunner
User: The Grey Ghost Date: 04/01/2016 ItemTestRunner is used to trigger a test case Usage: 1) register as an item 2) when the user right clicks while
src/main/java/minecraftbyexample/mbe75_testing_framework/ItemTestRunner.java:30
ClassItemVariants
User: The Grey Ghost Date: 30/12/2014 Item with variants, illustrating two different ways of changing the rendering to suit the variant. The bottle h
src/main/java/minecraftbyexample/mbe11_item_variants/ItemVariants.java:35
ClassLampColour
Created by TGG on 17/08/2016.
src/main/java/minecraftbyexample/mbe06_redstone/input/LampColour.java:11
ClassLiquidColour
Created by TGG on 17/08/2016. LiquidColour is a lambda function which is called by the renderer when it needs to know which colour it should use fo
src/main/java/minecraftbyexample/mbe11_item_variants/LiquidColour.java:15
ClassMBELogFilter
src/main/java/minecraftbyexample/usefultools/debugging/ForgeLoggerTweaker.java:51
ClassMBEdebugCommand
Created by TGG on 11/02/2020. Adds commands to assist in-game debugging: 1) mbedebug param <parametername> <parametervalue> sets the given debug
src/main/java/minecraftbyexample/usefultools/debugging/commands/MBEdebugCommand.java:48
ClassMBEquoteCommand
Created by TGG on 9/02/2020. Adds a command "mbequote" prints a variety of quotes depending on the arguments given Shows a more complicated parsin
src/main/java/minecraftbyexample/mbe45_commands/MBEquoteCommand.java:55
ClassMBEsayCommand
Created by TGG on 9/02/2020. Adds a command "mbesay" Works exactly the same as the vanilla "say" command except that the words are converted to pig l
src/main/java/minecraftbyexample/mbe45_commands/MBEsayCommand.java:34
ClassMessageHandlerOnClient
The MessageHandlerOnClient is used to process the network message once it has arrived on the Client side. WARNING! The MessageHandler runs in its own
src/main/java/minecraftbyexample/mbe60_network_messages/MessageHandlerOnClient.java:25
ClassMessageHandlerOnServer
The MessageHandlerOnServer is used to process the network message once it has arrived on the Server side. WARNING! The MessageHandler runs in its ow
src/main/java/minecraftbyexample/mbe60_network_messages/MessageHandlerOnServer.java:37
ClassMethodCallLogger
MethodCallLogger is used to produce a log of method calls, useful for debugging where a breakpoint would alter the behaviour (eg behaviour depends on
src/main/java/minecraftbyexample/usefultools/debugging/MethodCallLogger.java:27
ClassMinecraftByExample
src/main/java/minecraftbyexample/MinecraftByExample.java:54
ClassModelHourglass
This class is adapted from part of the Botania Mod, thanks to Vazkii and WillieWillus Get the Source Code in github https://github.com/Vazkii/Botania
src/main/java/minecraftbyexample/mbe21_tileentityrenderer/ModelHourglass.java:29
next →1–100 of 197, ranked by callers